/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Core
body.composer {
  margin: 0;
  font-family: $font-stack;
  color: $primary-text;
  background-color: $white;

  .initial-loading-elements {
    margin-top: 40vh;
    color: $primary-text;
    text-align: center;
  }
}

.composer * {
  box-sizing: border-box;
}

.composer {
  display: flex;
  flex-direction: column;
  height: 100vh;

  main {
    flex: 1;
    display: flex;
    width: 100%;
    //the height of the page minus the header
    height: calc(100vh - 63px);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .display-inline {
    display: inline-block;
    vertical-align: top;
  }

  .align-top {
    vertical-align: top;
  }

  .align-middle {
    vertical-align: middle;
  }

  .no-animation {
    transition-duration: 0s;
  }

  .rotate-180 {
    transform: rotate(180deg);
  }
}
